<ui:composition template="/WEB-INF/template/default.xhtml"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:jawr="https://jawr.dev.java.net/jsf/facelets"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">
	<ui:define name="title">Welcome</ui:define>
	<ui:define name="content">
		<h:form id="welcome">
 	<a4j:push  eventProducer="#{control.addListener}" 
            reRender="push,welcomefragment" enabled="#{control.listnerStarted}" id="push"/>

			<rich:panel>
				<f:facet name="header">
					<h:outputText value="welcome to USEREG" />
				</f:facet>

			<h:panelGrid columns="1" id="welcomefragment">
				<h:outputText  value="Choose an option "/>
            	
            		<h:panelGroup rendered="#{control.listnerStarted}">
                		
					</h:panelGroup>
				</h:panelGrid>
			</rich:panel>
		</h:form>

	</ui:define>
</ui:composition>